package com.txzt.gaea.business.project.service;

import com.txzt.base.core.RtnInfo;
import com.txzt.gaea.business.project.domain.dto.ProjectContractDTO;
import com.txzt.gaea.business.project.domain.model.ProjectContract;
import com.txzt.gaea.business.project.domain.vo.ProjectContractVo;
import com.txzt.gaea.common.base.service.BaseService;
import com.txzt.gaea.common.page.PageInfoBT;

public interface ProjectContractService extends BaseService<ProjectContract>{

    RtnInfo<PageInfoBT<ProjectContractVo>> pageList(ProjectContractDTO projectContractDTO);

    int save(ProjectContract projectContract);

    int update(ProjectContract projectContract);

    boolean addCheck(ProjectContract projectContract);

    boolean updateCheck(ProjectContract projectContract);

    int delete(Long id);

    RtnInfo<ProjectContract> getInfo(Long id);

    Long getTotalNum();
}
